package Xuanke;

public class Teacher {
    private int id;
    private String teacherName;
    private String teacherSex;
    private Course[] courses;
    //构造函数
    public Teacher() {
        super();
        courses = new Course[1];
    }
    public Teacher(int id,String teacherName,String teacherSex){
        this.id=id;
        this.teacherName=teacherName;
        this.teacherSex=teacherSex;
        courses = new Course[1];
    }

    public int getId() {
        return id;
    }
    public void setId(int id) {
        this.id = id;
    }
    public String getTeacherName() {
        return teacherName;
    }
    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }
    public String getTeacherSex () {
        return teacherSex;
    }
    public void setTeacherSex (String teacherSex){
        this.teacherSex = teacherSex;
    }
}
